//
//  PayClass.h
//  ELife
//
//  Created by fenglu on 11-7-23.
//  Copyright 2011年 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "GetMyData.h"
#import "GetMailInfo.h"

typedef enum{
    SHOPINGMALLPAY
}PayStyle;

@protocol PayClassDeleage <NSObject> 
@required
-(void) failedNoUserId;
-(void) NotMailAddress;

-(void) getMailFinish:(NSArray*)temp;
@end

@interface PayClass : NSObject <GetMailInfoDeleage>{
    id<PayClassDeleage> delegate;
    
    NSString* shopId;
    @private
    GetMailInfo* mailInfo;
    PayStyle myStyle;
}
@property (nonatomic, retain) NSString* shopId;

-(id) init:(id<PayClassDeleage>)target payStyle:(PayStyle)style;

-(void) openShopingMallStyle;


@end
